package cn.wolfcode.car.business.mapper;

import cn.wolfcode.car.business.domain.Store;
import cn.wolfcode.car.business.query.StoreQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StoreMapper {
    int deleteByPrimaryKey(String id);

    int insert(Store record);

    Store selectByPrimaryKey(Long id);

    List<Store> selectAll();

    int updateByPrimaryKey(Store record);

    List<Store> selectForList(StoreQuery query);

    void updateStatus(@Param("id") Long id, @Param("status") Integer status);

}